<h3>FOP lines in the table</h3>
<?php
if(!empty($this->tableData['foplines'])) {
	echo '<ul>';
	foreach($this->tableData['foplines'] as $num => $fopline) {
		echo '<li><a href="'.$this->baseURL().'/fop/'.$this->tableName.'/'.$fopline['name'].'/">'.$fopline['name'].'</a> - '.$fopline['description'].'</li>';
	}
	echo '</ul>';	
} else echo 'no fopline defined so far';

?>

<h3>Create new fopline</h3>
<form action="<?php echo $this->baseURL() ?>/fop/index/createnewfopline/" method="post">
<input type="hidden" name="tableName" value="<?php echo $this->tableName ?>" />
FOPline Name: <input type="text" name="foplineName" /><br />
FOPline Definition: <textarea name="foplineDescription" cols="40" rows="4"></textarea><br />
<button type="submit">Create new fopline</button>
</form>